package com.meida.module.bus.client.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import lombok.NoArgsConstructor;

/**
 * 试卷审核状态
 *
 * @author gp
 * @date 2021/8/9
 */
@NoArgsConstructor
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
@ApiModel("订单解答审核状态")
public enum TestPaperCheckStateEnum {
    /**
     * 订单解答审核状态
     */
    waitCheck(0, "待审核"),
    checkIng(1, "审核失败"),
    checkPass(2, "审核通过");

    @EnumValue
    private Integer value;
    private String label;

    TestPaperCheckStateEnum(Integer value, String label) {
        this.value = value;
        this.label = label;
    }

    public void setValue(Integer value) {
        this.value = value;
    }

    public Integer getValue() {
        return value;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }


}
